<?php include_partial('aoiFrontPartials/contentHeader',
	array(
		'nav'=>array(
			array('url'=>url_for('homepage'),'title'=>'Accueil'),
			array('url'=>'','title'=>'R&eacute;servations')
		),
		'title'=>'R&eacute;servations',
		'description'=>'Votre prochain voyage avec Comoros Airways'
	)
); ?>

<section id="content">
	<div class="container">
		
		<div id="mainbody">
			
			<div>
				<div class="span12">
					<form method="POST" action="<?php echo url_for('booking_confirm')?>" id="reservation_contact_form">
						<input type="hidden" name="step" value="submit"/>
						<input type="hidden" name="flight_type" value="<?php echo $flight_type ?>"/>
						<input type="hidden" name="flight_go" value="<?php echo $flight_go ?>"/>
						<input type="hidden" name="flight_back" value="<?php echo $flight_back ?>"/>
						<?php
						$index = 0;
						foreach($passenger_infos->getRawValue() as $passenger): ?>
							<?php
							include_partial(
								'aoiItineraryReservation/bookingPassengerInfosHiddenFields',
								array('index'=>$index, 'passenger_infos'=>$passenger)
							);
							?>
						<?php
							$index++;
						endforeach;
						?>

						<h2>Contact pour la réservation</h2>

							<hr class="bs-docs-separator">

							<div class="row">
								<div class="span4">
									<fieldset>

											<div class="control-group">
								        <label>Pr&eacute;nom</label>

												<input type="text" name="first_name"/>

											</div>
											<div class="control-group">
								        <label>Nom</label>

												<input type="text" name="last_name"/>

											</div>
											<div class="control-group">
								        <label>Email</label>
												<input type="text" name="email" data-confirm="email_confirm"/>
											</div>
											<div class="control-group">

								        <label>Confirmer l'email</label>
												<input type="text" name="email_confirm"/>

											</div>
									</fieldset>   
								</div>
								<div class="span4">
									<fieldset>
											<div class="control-group">
								        <label>T&eacute;l&eacute;phone</label>
												<input type="text" name="phone"/>

											</div>
											<div class="control-group">
								        <label>Adresse</label>
												<input type="text" name="address"/>

											</div>
											<div class="control-group">
								        <label>Ville</label>
												<input type="text" name="city"/>

											</div>
											<div class="control-group">
								        <label>Pays</label>
												<input type="text" name="country"/>
											</div>
									</fieldset>   
								</div>

						</div>
						<div class="row">
							<fieldset>
								<input type="submit" class="btn btn-large btn-success" value="Confirmer ma réservation"/>
								<br/><br/>
								<a class="btn" href="<?php echo url_for('booking') ?>">Recommencer la réservation</a>
							</fieldset>
						</div>
					</form>
				</div>
			</div><!-- end row -->
			
		</div><!-- end mainbody -->
		
	</div><!-- end container -->
</section>


<script type="text/javascript">
$(document).ready(function(){
	$('#reservation_contact_form').simpleFormValidation();
});
</script>